<meta name="csrf-token" content="{{ csrf_token() }}">

<link href="https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/theme/default/layer.min.css" rel="stylesheet">
<link rel="stylesheet" href="http://cdn.staticfile.org/layui/2.5.7/css/layui.min.css">
{{--##主体########################################################################--}}

<div>
    <img class="myimg" v-bind:src="choice_img[0]">
</div>


{{--##主体########################################################################--}}

<script src="https://cdn.bootcdn.net/ajax/libs/layui/2.5.7/layui.all.min.js"></script>

{{--<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>--}}
{{--再高的版本vue机制变的太大--}}
<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.9/vue.min.js"></script>

<script src="https://cdn.bootcdn.net/ajax/libs/layer/3.1.1/layer.min.js"></script>

<script>

    layui.use(['jquery','upload'], function () {
        var $ = layui.jquery;

        //iframe层
        layer.open({
            type: 2,
            title: '图片选择',
            shadeClose: true,
            shade: 1,
            area: ['90%', '90%'],
            content: '/system/upload/index?img=myimg'      //iframe的url
        });

    });

</script>

























